import { defineComponent, PropType } from 'vue';
import { usePompei } from '/@/hooks/usePrayers';
import { PompeiType } from '/@/types';
export default defineComponent({
  name: 'detail',
  props: {
    pompeiType: {
      type: String as PropType<PompeiType>,
      default: 'petition',
    },
  },
  setup(props) {
    const { start, content, end } = usePompei(`pompei.${props.pompeiType}`);
    function renderRosary() {
      return (
        <>
          <rosaryIndex />
        </>
      );
    }
    return () => <>{renderRosary()}</>;
  },
});
